
import VoteStore from "./VoteStore";
import PersonalStore from "./PersonalStore";

class Store{
    constructor() {
        this.vote = new VoteStore(this);//把自身的this传递进去让子组件能调回来
        this.personalStore = new PersonalStore(this);
    }
}

 const store = new Store();
export {
    store
}